package com.atguigu.eduservice.entity.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * Created by Miracle yaochengwei on 2020/8/8 18:47
 */

//创建和execl对应的实体类
@Data  //生成get set方法
public class SubjectData {
    @ExcelProperty(index= 0 ) //对应的列
    private String oneSubjectName;

    @ExcelProperty(index = 1)
    private String twoSubjectName;
}
